﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WPS.SDK.openapi
{
    public class Config
    {
        private static string Appid = "SX20190805QCUXPR";
        private static string AppKey = "784561c80b0afa4e5ac548395b4bc483";
        private static string OpenApiServer = "https://openapi.wps.cn";

        public static void setConfig(string appid, string appKey)
        {
            Appid = appid;
            AppKey = appKey;
        }

        public static void setConfig(string appid, string appKey, string openApiServer)
        {
            Appid = appid;
            AppKey = appKey;
            OpenApiServer = openApiServer;
        }

        public static string getAppid()
        {
            return Appid;
        }

        public static void setAppid(string appid)
        {
            Appid = appid;
        }

        public static string getAppKey()
        {
            return AppKey;
        }

        public static void setAppKey(string appKey)
        {
            AppKey = appKey;
        }

        public static string getOpenApiServer()
        {
            return OpenApiServer;
        }

        public static void setOpenApiServer(string openApiServer)
        {
            OpenApiServer = openApiServer;
        }
    }
}
